import Vue from 'vue'
import App from './App.vue'
import router from './router'
import vuex from 'vuex'
import store from './store'
import 'bootstrap/dist/css/bootstrap.min.css'
import $ from 'jquery'
import 'bootstrap/dist/js/bootstrap.min.js'
import swal from 'sweetalert'
import axios from 'axios'
import VueAxios from 'vue-axios'
import animated from 'animate.css'
import VueClipboard from 'vue-clipboard2'
import axiosApi from "./api/axios"
import moment from 'moment'
import './index.less'

Vue.use(axiosApi,moment)
Vue.use(VueClipboard)
Vue.use(animated)
Vue.use(VueAxios, axios);
Vue.use(vuex);
Vue.config.productionTip = false
Vue.prototype.Indevelopment = function () {
    swal("正在开发中...", "有什么建议或者意见就联系我哟", "info");
};
// 将后端传过来的时间进行格式化
Vue.filter("dateFmt", (input, formatString = "YYYY-MM-DD HH:MM") => {
    return moment(input).format(formatString)
})
new Vue({
    router,
    store,
    render: function (h) {
        return h(App)
    }
}).$mount('#app')
